$(function () {
    if ( user.isLogin() ){

        $('#logined-nav').css('display','block');
        console.log('top-bar:'+sessionStorage.getItem('islogin')+'已登录')
    }else {
        console.log('top-bar:还未登录')

        $('#login-nav').css('display','block');
    }
})